package dao;

import bean.User;

public interface UserMapper {
    int addUser(String phone_number, String password);

    int login(String phone_number, String password);

    User getUserByPhoneNumber(String phoneNumber);

    int changePassword(int uid, String newPassword);

    int upDataByUid(int uid, String phoneNumber, String username, String gender);
}
